package com.ruoyi.oos.duty.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮值倒班信息对象 oos_duty_turns
 * 
 * @author bulang
 * @date 2020-04-29
 */
public class DutyTurns extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 轮值规则id */
    @Excel(name = "轮值规则id")
    private Long dutyId;

    /** 班次id */
    @Excel(name = "班次id")
    private Long classesId;

    /** 班组id */
    @Excel(name = "班组id")
    private Long teamId;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderno;
    
    private String beginTime;
    
    private String endTime;

        public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
        public void setDutyId(Long dutyId)
    {
        this.dutyId = dutyId;
    }

    public Long getDutyId() 
    {
        return dutyId;
    }
        public void setClassesId(Long classesId)
    {
        this.classesId = classesId;
    }

    public Long getClassesId() 
    {
        return classesId;
    }
        public void setTeamId(Long teamId)
    {
        this.teamId = teamId;
    }

    public Long getTeamId() 
    {
        return teamId;
    }
        public void setOrderno(Long orderno)
    {
        this.orderno = orderno;
    }

    public Long getOrderno() 
    {
        return orderno;
    }
    
    

    public String getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        
        .append("id", getId())
        
        .append("dutyId", getDutyId())
        
        .append("classesId", getClassesId())
        
        .append("teamId", getTeamId())
        
        .append("orderno", getOrderno())
            .toString();
    }
}
